An enumeration type declaration is mapped to a C++ enumeration type with the same literals. As for external types, for an enumeration type with name <E> the functions
<E>
sos_Object make_<E>_object (E); E make_<E> (sos_Object);
are generated.